package pers.sms.dao;

import org.apache.ibatis.annotations.Mapper;
import pers.sms.bean.Course;import java.util.List;

/**
 * @Author ：liaochuangang
 * @Date ：2022/4/28 17:25
 * @History ：
 * @return ：$return
 */
@Mapper
public interface CourseMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);

    List<Course> selectList();

    List<Course> getCourseList(Course course);

    /**
     * 逻辑删除
     * @param ids
     * @return
     */
    Integer deleteById(Long[] ids);
}